<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Function crash</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../index.html" title="ODTONE 0.4">
<link rel="up" href="extensions/library.html#header..home.carlos.Projectos.odtone.inc.odtone.debug_hpp" title="Header &lt;/home/carlos/Projectos/odtone/inc/odtone/debug.hpp&gt;">
<link rel="prev" href="setup_crash_handler.html" title="Function setup_crash_handler">
<link rel="next" href="crash_idp3685968.html" title="Function crash">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="'ODTONE - Open Dot Twenty One'" width="100" height="100" src=".././images/logo.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="setup_crash_handler.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="extensions/library.html#header..home.carlos.Projectos.odtone.inc.odtone.debug_hpp"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="crash_idp3685968.html"><img src="../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="odtone.crash_idp3682752"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function crash</span></h2>
<p>odtone::crash</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="extensions/library.html#header..home.carlos.Projectos.odtone.inc.odtone.debug_hpp" title="Header &lt;/home/carlos/Projectos/odtone/inc/odtone/debug.hpp&gt;">/home/carlos/Projectos/odtone/inc/odtone/debug.hpp</a>&gt;

</span>
<span class="keyword">void</span> <span class="identifier">crash</span><span class="special">(</span><span class="identifier">bug</span> code<span class="special">,</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> function<span class="special">,</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> file<span class="special">,</span> <span class="identifier">uint</span> line<span class="special">,</span> 
           <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> expression<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idp10128992"></a><h2>Description</h2>
<p>Creates the crash context and dispatch it to its handler.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term">Parameters:</span></p></td>
<td><div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="computeroutput">code</code></span></p></td>
<td><p>Crash bug code. </p></td>
</tr>
<tr>
<td><p><span class="term"><code class="computeroutput">expression</code></span></p></td>
<td><p>Crash expression. </p></td>
</tr>
<tr>
<td><p><span class="term"><code class="computeroutput">file</code></span></p></td>
<td><p>Crash file name. </p></td>
</tr>
<tr>
<td><p><span class="term"><code class="computeroutput">function</code></span></p></td>
<td><p>Crash function. </p></td>
</tr>
<tr>
<td><p><span class="term"><code class="computeroutput">line</code></span></p></td>
<td><p>Crash line number. </p></td>
</tr>
</tbody>
</table></div></td>
</tr></tbody>
</table></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2009-2012 Universidade
      Aveiro<br>Copyright &#169; 2009-2012 Instituto
      de Telecomunica&#231;&#245;es - P&#243;lo Aveiro<p>
        This software is distributed under a license. The full license agreement
        can be found in the LICENSE in this distribution. This software may not be
        copied, modified, sold or distributed other than expressed in the named license
        agreement. This software is distributed without any warranty.
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="setup_crash_handler.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="extensions/library.html#header..home.carlos.Projectos.odtone.inc.odtone.debug_hpp"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="crash_idp3685968.html"><img src="../images/next.png" alt="Next"></a>
</div>
</body>
</html>
